cboj-loans-prc-api

(0 reviews)

Create Collateral Right or Amendment

Description: This endpoint is used to create/update the collateral right.

Based on whether the input has limitReference field mulesoft will decide whether to form request for Create Collateral Right or Create Collateral Right Amendment and call Temenos layer.

Mulesoft Request:

Headers:

Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, client_secret

Optional Headers: x-sub-channel-id, x-user-id, Authorization, x-debug-flag, x-customer-id

Paramaters:

URI Params: NA

Query Params: NA

Content-type: application/json

Body:

{
    "customerId": "2058005",
    "collateralCode: "1",
    "reviewFrequency": "M1201",
    "expiryDate": "20220125",
    "notes": "LOAN",
        "limitReference": ""
}

Mulesoft Response:

Success Response: (200) - Create Collateral Right

{
    "status":
    {
        "success": true,
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
        },
    "response":
    {
        "collateral": {
            "transactionRef": "2058005.60",
            "status": "",
            "limit": []
            }
    }
}

Success Response: (200) - Create Collateral Right Amendment

{
    "status":
    {
        "success": true,
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
        },
    "response":
    {
        "collateral": {
            "transactionRef": "2058007.1",
            "company: "BNK",
            "limitReferenceCustomer: "2000248",
            "validityDate: "20210208",
            "status: "CUR",
            "limitId: "2000248.0020801.10",
            "override":[]
        }
    }
}


Reviews